<template>
  <div>
    <div class="beijing">
      <div class="dingbu">
        <!-- 头像栏 -->
        <div class="tupian">
          <div>
            <van-image
              round
              width="5rem"
              height="5rem"
              fit="cover"
              src="https://img01.yzcdn.cn/vant/cat.jpeg"
            />
          </div>
          <div>
            <div>游客</div>
            <van-button type="primary" to="/denglu">去登录</van-button>
          </div>
        </div>
      </div>
    </div>
    <van-grid :column-num="3">
      <van-grid-item icon="star-o" text="我的收藏" to="/shoucang" />
      <van-grid-item icon="wap-home-o" text="我的出租" to="" />
      <van-grid-item icon="clock-o" text="看房记录" to="" />
      <van-grid-item icon="debit-pay" text="成为房主" to="" />
      <van-grid-item icon="contact" text="个人资料" to="" />
      <van-grid-item icon="phone-o" text="联系我们" to="" />
    </van-grid>
    <div>
      <img src="http://liufusong.top:8080/img/profile/join.png" alt="">
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.beijing {
  background-image: url(http://liufusong.top:8080/img/profile/bg.png);
  padding: 3vh;
  padding-top: 25vh;
  text-align: center;
  .dingbu {
    height: 20vh;
    background-color: #efefef;
    border-radius: 1vh;
    box-shadow: 0 4px 4px #bdbdbd;
    .tupian {
      transform: translateY(-25%);
    }
  }
}
</style>
